home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 86
/
(Vol 86) My Disc.iso
/
Games
/
anjinhasefadas_1343.swf
/
scripts
/
cde_fairycupid_fla
/
adddollbox_145.as
next >
Wrap
Text File
|
2009-04-23
|
1KB
|
50 lines
package cde_fairycupid_fla
{
import flash.display.MovieClip;
import flash.display.SimpleButton;
import flash.events.MouseEvent;
import flash.text.TextField;
public dynamic class adddollbox_145 extends MovieClip
{
public var frame:int;
public var tab_btn:SimpleButton;
public var dollcode:TextField;
public function adddollbox_145()
{
super();
addFrameScript(0,frame1,14,frame15,29,frame30);
}
function frame15() : *
{
stop();
dollcode.text = MovieClip(this.root).dollcode;
tab_btn.addEventListener(MouseEvent.MOUSE_DOWN,onTabBtnMouseDownHandler);
frame = 16;
}
function frame1() : *
{
frame = 2;
tab_btn.addEventListener(MouseEvent.MOUSE_DOWN,onTabBtnMouseDownHandler);
stop();
}
function frame30() : *
{
gotoAndStop(1);
}
public function onTabBtnMouseDownHandler(param1:MouseEvent) : void
{
gotoAndPlay(frame);
}
}
}